home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / gfx / opal / obrotold.lzh / obrotold.doc < prev    next >
Text File  |  1993-02-23  |  2KB  |  43 lines

  1.     During a recent snowstorm, I started to go thru the developer files
  2. That I downloaded from OpalVision BBS.  I looked at render.c files, and
  3. wanted some way to test/play with them.  Writing a 3D program was out of
  4. the question since they take man-years of programming and there are already
  5. six or more available on the Amiga.  I decided to try Mandelbrots since I
  6. had played with this before, and knew it was a relatively simple way to render
  7. in a raster by pixels for render.c.
  8.     This version is just a test version. Very crude, does not have any control
  9. and just does the one size.  You can save it into a Jpeg file at the end.
  10. It worked, so I was encouraged and went on to OpalBrot which has a user inter-
  11. face and several different fractals.  I was not satisfied with any fractal
  12. program I have seen.  That file is  available, but source is not included.
  13.     Why am I uploading this when I got something better?  There seems to be a
  14. bug in the Opal library saving a screen which only saves the left third.  I 
  15. included this source to help troubleshoot.  This was done with version 3.4 of
  16. Opal Library on an Amiga 2000 with GVP 3001 accel ( 30/882 at 28MHz) and 
  17. WB2.1 and KS2.04.  It is also an example of how to use the renderer.  I am 
  18. probably not uploading the source to any future versions of OpalBrot.
  19. This problem only happens with 24 bit, and seems to work OK with 8 bit palette
  20. mapped screens.  
  21.     On the renderer.c I made a few small changes, one is a safer allocation, 
  22. with about a 50K margin in chip ram so it cannot take the last byte.  This may
  23. keep the GURU away, as the system may need a little and not be able to get
  24. any memory.  I have included the modified source too.
  25.         
  26.  
  27.     THIS IS FOR EDUCATIONAL AND TROUBLESHOOTING PURPOSES ONLY
  28.     
  29.         NO RESULTS ARE GUARANTEED AND I'LL NOT BE RESPONSIBLE FOR ANY
  30.         TRASHED DATA OR HARD DRIVES OR ANY LOSSES ARISING FROM THIS.
  31.         
  32.         
  33.         AMIGA IS A TRADEMARK OF COMMODORE-AMIGA, INC.
  34.         OPALVISION AND LIBRARY BY OPAL TECHNOLOGY AND CENTAUR
  35.         AND RENDERER.C ORIGINALLY WRITTEN BY MARTIN BOYD THEREOF
  36.         
  37.         
  38.         Jim B.
  39.         
  40. PS:     ----- YOU MUST HAVE A 68020 AND 68881 TO RUN THE PROGRAM ---
  41.         ( ELSE IT WILL GURU!  IF YOU DONT, YOU MUST RECOMPILE WITH
  42.             'ANY' CPU AND 'STANDARD' OR 'IEEE' MATH OPTIONS SET)
  43.